from nameko.standalone.rpc import ClusterRpcProxy

CONFIG = {'AMQP_URI': "amqp://guest:guest@localhost:5672"}


def compute():
    with ClusterRpcProxy(CONFIG) as rpc:
        result = rpc.helloservice.hello()
        print(result)


if __name__ == '__main__':
    compute()
